﻿using System;
using Axial;

namespace AxialWeb
{
	[JSSafe]
	public class Additizer
	{
		public int LastSum { get; set; }
		public int _operations = 0;

		public int Add(int a, int b)
		{
			_operations++;
			LastSum = a + b;
			return a + b;
		}

		public void Pretend()
		{
			_operations++;
		}

		public static int AddStatic(int a, int b)
		{
			return a + b;
		}
	}
}
